﻿<MudStack Row>
    <MudDatePicker Label="dd.MM.yyyy" @bind-Date="_date" Mask="@(new DateMask("dd.MM.yyyy"))" DateFormat="dd.MM.yyyy" Placeholder="de-AT Date" HelperText="Help Text" Variant="Variant.Text"/>
    <MudDatePicker Label="MM/dd/yyyy" @bind-Date="_date" Mask="@(new DateMask("MM/dd/yyyy"))" DateFormat="MM/dd/yyyy" Placeholder="en-US Date" HelperText="Help Text" Variant="Variant.Filled" />
    <MudDatePicker Label="yyyy-MM-dd" @bind-Date="_date" Mask="@(new DateMask("0000-00-00"))" DateFormat="yyyy-MM-dd" Placeholder="ISO Date" HelperText="Help Text" Variant="Variant.Outlined" />
</MudStack>
<MudStack Row>
    <MudDatePicker Label="dd.MM.yyyy" @bind-Date="_date" Mask="@(new DateMask("dd.MM.yyyy"))" DateFormat="dd.MM.yyyy" Placeholder="de-AT Date" HelperText="Help Text" Margin="Margin.Dense" Variant="Variant.Text" />
    <MudDatePicker Label="MM/dd/yyyy" @bind-Date="_date" Mask="@(new DateMask("MM/dd/yyyy"))" DateFormat="MM/dd/yyyy" Placeholder="en-US Date" HelperText="Help Text" Margin="Margin.Dense" Variant="Variant.Filled" />
    <MudDatePicker Label="yyyy-MM-dd" @bind-Date="_date" Mask="@(new DateMask("0000-00-00"))" DateFormat="yyyy-MM-dd" Placeholder="ISO Date" HelperText="Help Text" Margin="Margin.Dense" Variant="Variant.Outlined" />
</MudStack>

<MudStack Row>
    <MudDateRangePicker Label="dd.MM.yyyy" @bind-DateRange="_dateRange" Mask="@(new DateMask("dd.MM.yyyy"))" DateFormat="dd.MM.yyyy" Placeholder="de-AT Date" HelperText="Help Text" Variant="Variant.Text"/>
    <MudDateRangePicker Label="MM/dd/yyyy" @bind-DateRange="_dateRange" Mask="@(new DateMask("MM/dd/yyyy"))" DateFormat="MM/dd/yyyy" Placeholder="en-US Date" HelperText="Help Text" Variant="Variant.Filled" />
    <MudDateRangePicker Label="yyyy-MM-dd" @bind-DateRange="_dateRange" Mask="@(new DateMask("0000-00-00"))" DateFormat="yyyy-MM-dd" Placeholder="ISO Date" HelperText="Help Text" Variant="Variant.Outlined" />
</MudStack>
<MudStack Row>
    <MudDateRangePicker Label="dd.MM.yyyy" @bind-DateRange="_dateRange" Mask="@(new DateMask("dd.MM.yyyy"))" DateFormat="dd.MM.yyyy" Placeholder="de-AT Date" HelperText="Help Text" Margin="Margin.Dense" Variant="Variant.Text" />
    <MudDateRangePicker Label="MM/dd/yyyy" @bind-DateRange="_dateRange" Mask="@(new DateMask("MM/dd/yyyy"))" DateFormat="MM/dd/yyyy" Placeholder="en-US Date" HelperText="Help Text" Margin="Margin.Dense" Variant="Variant.Filled" />
    <MudDateRangePicker Label="yyyy-MM-dd" @bind-DateRange="_dateRange" Mask="@(new DateMask("0000-00-00"))" DateFormat="yyyy-MM-dd" Placeholder="ISO Date" HelperText="Help Text" Margin="Margin.Dense" Variant="Variant.Outlined" />
</MudStack>

@code {
    private DateTime? _date = DateTime.Today;
    private DateRange _dateRange = new DateRange(DateTime.Today.AddDays(1), DateTime.Today.AddDays(5));
}